using INTEX.DataBase.Tools;
using System;
namespace WPFExcelReport
{
    public partial class VICC_EXART
    {
        private VVAART _VA;
        public VVAART VA
        {
            get
            {
                if (_VA == null) _VA = new VVAART();
                return _VA;
            }
        }
        public string sql = "";
        public override void SetUp()
        {
            base.SetUp();
            dbConnection = app.SQLITEDB;
            SQLiteDatabase = new SQLiteDatabase(dbConnection);
        } 
    }
    public partial class VICC_EXART
    {
        public double ID { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["ID"].ToString()); } set { if (dwMaster == null) return; dwMaster["ID"] = value; OnPropertyChanged("ID", value); } } //lENGth 0


        public string ARTICLE { get { if (dwMaster == null) return ""; return dwMaster["ARTICLE"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARTICLE"] = value; OnPropertyChanged("ARTICLE", value); } } //lENGth 24
        public string DESCRIPTION { get { if (dwMaster == null) return ""; return dwMaster["DESCRIPTION"].ToString(); } set { if (dwMaster == null) return; dwMaster["DESCRIPTION"] = value; OnPropertyChanged("DESCRIPTION", value); } } //lENGth 30
        public string TWIDTH { get { if (dwMaster == null) return ""; return dwMaster["TWIDTH"].ToString(); } set { if (dwMaster == null) return; dwMaster["TWIDTH"] = value; OnPropertyChanged("TWIDTH", value); } } //lENGth 20
        public string VWIDTH { get { if (dwMaster == null) return ""; return dwMaster["VWIDTH"].ToString(); } set { if (dwMaster == null) return; dwMaster["VWIDTH"] = value; OnPropertyChanged("VWIDTH", value); } } //lENGth 20
        public string GSQM { get { if (dwMaster == null) return ""; return dwMaster["GSQM"].ToString(); } set { if (dwMaster == null) return; dwMaster["GSQM"] = value; OnPropertyChanged("GSQM", value); } } //lENGth 20
        public string GM { get { if (dwMaster == null) return ""; return dwMaster["GM"].ToString(); } set { if (dwMaster == null) return; dwMaster["GM"] = value; OnPropertyChanged("GM", value); } } //lENGth 20
        public string YARN { get { if (dwMaster == null) return ""; return dwMaster["YARN"].ToString(); } set { if (dwMaster == null) return; dwMaster["YARN"] = value; OnPropertyChanged("YARN", value); } } //lENGth 100
        public string PRICE { get { if (dwMaster == null) return ""; return dwMaster["PRICE"].ToString(); } set { if (dwMaster == null) return; dwMaster["PRICE"] = value; OnPropertyChanged("PRICE", value); } } //lENGth 20
        public string SPRICE { get { if (dwMaster == null) return ""; return dwMaster["SPRICE"].ToString(); } set { if (dwMaster == null) return; dwMaster["SPRICE"] = value; OnPropertyChanged("SPRICE", value); } } //lENGth 20
        public string COMPOSITION { get { if (dwMaster == null) return ""; return dwMaster["COMPOSITION"].ToString(); } set { if (dwMaster == null) return; dwMaster["COMPOSITION"] = value; OnPropertyChanged("COMPOSITION", value); } } //lENGth 72
        public string CUSTOMERPRICE { get { if (dwMaster == null) return ""; return dwMaster["CUSTOMERPRICE"].ToString(); } set { if (dwMaster == null) return; dwMaster["CUSTOMERPRICE"] = value; OnPropertyChanged("CUSTOMERPRICE", value); } } //lENGth 24
        public string BOOK { get { if (dwMaster == null) return ""; return dwMaster["BOOK"].ToString(); } set { if (dwMaster == null) return; dwMaster["BOOK"] = value; OnPropertyChanged("BOOK", value); } } //lENGth 24
        public string LOCATION { get { if (dwMaster == null) return ""; return dwMaster["LOCATION"].ToString(); } set { if (dwMaster == null) return; dwMaster["LOCATION"] = value; OnPropertyChanged("LOCATION", value); } } //lENGth 24
        public string CODE { get { if (dwMaster == null) return ""; return dwMaster["CODE"].ToString(); } set { if (dwMaster == null) return; dwMaster["CODE"] = value; OnPropertyChanged("CODE", value); } } //lENGth 24
        public string WIDTH { get { if (dwMaster == null) return ""; return dwMaster["WIDTH"].ToString(); } set { if (dwMaster == null) return; dwMaster["WIDTH"] = value; OnPropertyChanged("WIDTH", value); } } //lENGth 20
        public string WEIGHT { get { if (dwMaster == null) return ""; return dwMaster["WEIGHT"].ToString(); } set { if (dwMaster == null) return; dwMaster["WEIGHT"] = value; OnPropertyChanged("WEIGHT", value); } } //lENGth 20
        public string SUPPLIER { get { if (dwMaster == null) return ""; return dwMaster["SUPPLIER"].ToString(); } set { if (dwMaster == null) return; dwMaster["SUPPLIER"] = value; OnPropertyChanged("SUPPLIER", value); } } //lENGth 8
        public string REMARK { get { if (dwMaster == null) return ""; return dwMaster["REMARK"].ToString(); } set { if (dwMaster == null) return; dwMaster["REMARK"] = value; OnPropertyChanged("REMARK", value); } } //lENGth 200

    }
} 